home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eccentric Dream
/
Eccentric Dream.iso
/
Omake-13inch
/
Omake-13inch.rsrc
/
CODE_11526_Creation.txt
< prev
next >
Wrap
Text File
|
1993-07-10
|
17KB
|
302 lines
# near model CODE resource
# jump table entries: 6456-6462 (7 of them)
00000000 4E56 FFFC link A6, -0x0004
00000004 4E5E unlink A6
00000006 205F movea.l A0, [A7]+
00000008 544F addq.w A7, 2
0000000A 4ED0 jmp [A0]
0000000C 4E56 FEFE link A6, -0x0102
00000010 206E 000E movea.l A0, [A6 + 0xE]
00000014 43EE FF00 lea.l A1, [A6 - 0x100]
00000018 703F moveq.l D0, 0x3F
label0000001A:
0000001A 22D8 move.l [A1]+, [A0]+
0000001C 51C8 FFFC dbf D0, -0x6 /* 0000001A */
00000020 4E5E unlink A6
00000022 205F movea.l A0, [A7]+
00000024 DEFC 000A add.w A7, 0xA /* '\n' */
00000028 4ED0 jmp [A0]
0000002A 4E56 FFF6 link A6, -0x000A
0000002E 4E5E unlink A6
00000030 205F movea.l A0, [A7]+
00000032 DEFC 000C add.w A7, 0xC
00000036 4ED0 jmp [A0]
fn00000038:
00000038 4E56 FFFC link A6, -0x0004
0000003C 48E7 0118 movem.l -[A7], D7,A3,A4
00000040 266E 0008 movea.l A3, [A6 + 0x8]
00000044 286E 000C movea.l A4, [A6 + 0xC]
00000048 426C 0004 clr.w [A4 + 0x4]
0000004C 42A7 clr.l -[A7]
0000004E 70FC moveq.l D0, 0xFFFFFFFC
00000050 2F00 move.l -[A7], D0
00000052 4EAD 19CA jsr [A5 + 0x19CA /* export_821 */]
00000056 2E1F move.l D7, [A7]+
00000058 70FD moveq.l D0, 0xFFFFFFFD
0000005A B087 cmp.l D0, D7
0000005C 57C0 seq D0
0000005E 72FE moveq.l D1, 0xFFFFFFFE
00000060 B287 cmp.l D1, D7
00000062 57C1 seq D1
00000064 8001 or.b D0, D1
00000066 6708 beq +0xA /* 00000070 */
00000068 397C 0025 0004 move.w [A4 + 0x4], 0x25 /* '%' */
0000006E 6026 bra +0x28 /* 00000096 */
label00000070:
00000070 70FF moveq.l D0, 0xFFFFFFFF
00000072 B06C 0002 cmp.w D0, [A4 + 0x2]
00000076 5EC0 sgt D0
00000078 7218 moveq.l D1, 0x18
0000007A B26C 0002 cmp.w D1, [A4 + 0x2]
0000007E 5DC1 slt D1
00000080 8001 or.b D0, D1
00000082 6708 beq +0xA /* 0000008C */
00000084 397C 0019 0004 move.w [A4 + 0x4], 0x19
0000008A 600A bra +0xC /* 00000096 */
label0000008C:
0000008C 4A54 tst.w [A4]
0000008E 6706 beq +0x8 /* 00000096 */
00000090 397C 0046 0004 move.w [A4 + 0x4], 0x46 /* 'F' */
label00000096:
00000096 36AC 0002 move.w [A3], [A4 + 0x2]
0000009A 6606 bne +0x8 /* 000000A2 */
0000009C 36BC 0004 move.w [A3], 0x4
000000A0 600E bra +0x10 /* 000000B0 */
label000000A2:
000000A2 70FF moveq.l D0, 0xFFFFFFFF
000000A4 B053 cmp.w D0, [A3]
000000A6 6606 bne +0x8 /* 000000AE */
000000A8 36BC 0005 move.w [A3], 0x5
000000AC 6002 bra +0x4 /* 000000B0 */
label000000AE:
000000AE 5A53 addq.w [A3], 5
label000000B0:
000000B0 4CDF 1880 movem.l D7,A3,A4, [A7]+
000000B4 4E5E unlink A6
000000B6 205F movea.l A0, [A7]+
000000B8 504F addq.w A7, 8
000000BA 4ED0 jmp [A0]
000000BC 4E56 FFFA link A6, -0x0006
000000C0 48E7 0028 movem.l -[A7], A2,A4
000000C4 286E 0008 movea.l A4, [A6 + 0x8]
000000C8 2F0C move.l -[A7], A4
000000CA 486E FFFA pea.l [A6 - 0x6]
000000CE 4EBA FF68 jsr [PC - 0x98 /* 00000038 */]
000000D2 4A6C 0004 tst.w [A4 + 0x4]
000000D6 6652 bne +0x54 /* 0000012A */
000000D8 7006 moveq.l D0, 0x06
000000DA B06E FFFA cmp.w D0, [A6 - 0x6]
000000DE 6E26 bgt +0x28 /* 00000106 */
000000E0 3F2E FFFA move.w -[A7], [A6 - 0x6]
000000E4 3F3C 000C move.w -[A7], 0xC
000000E8 4EAD 177A jsr [A5 + 0x177A /* export_747 */]
000000EC 206D F4C8 movea.l A0, [A5 - 0xB38]
000000F0 302E FFFA move.w D0, [A6 - 0x6]
000000F4 E740 asl D0.w, 3
000000F6 43EC 0016 lea.l A1, [A4 + 0x16]
000000FA 45E8 03EE lea.l A2, [A0 + 0x3EE]
000000FE 41F2 0000 lea.l A0, [A2 + D0.w]
00000102 22D8 move.l [A1]+, [A0]+
00000104 22D8 move.l [A1]+, [A0]+
label00000106:
00000106 206D F4C8 movea.l A0, [A5 - 0xB38]
0000010A 302E FFFA move.w D0, [A6 - 0x6]
0000010E E940 asl D0.w, 4
00000110 224C movea.l A1, A4
00000112 5C89 addq.l A1, 6
00000114 45E8 023E lea.l A2, [A0 + 0x23E]
00000118 41F2 0000 lea.l A0, [A2 + D0.w]
0000011C 22D8 move.l [A1]+, [A0]+
0000011E 22D8 move.l [A1]+, [A0]+
00000120 22D8 move.l [A1]+, [A0]+
00000122 22D8 move.l [A1]+, [A0]+
00000124 7000 moveq.l D0, 0x00
00000126 2940 001E move.l [A4 + 0x1E], D0
label0000012A:
0000012A 4CDF 1400 movem.l A2,A4, [A7]+
0000012E 4E5E unlink A6
00000130 2E9F move.l [A7], [A7]+
00000132 4E75 rts
00000134 4E56 FFFA link A6, -0x0006
00000138 2F0C move.l -[A7], A4
0000013A 286E 0008 movea.l A4, [A6 + 0x8]
0000013E 2F0C move.l -[A7], A4
00000140 486E FFFA pea.l [A6 - 0x6]
00000144 4EBA FEF2 jsr [PC - 0x10E /* 00000038 */]
00000148 4A6C 0004 tst.w [A4 + 0x4]
0000014C 661E bne +0x20 /* 0000016C */
0000014E 206D F4C8 movea.l A0, [A5 - 0xB38]
00000152 302E FFFA move.w D0, [A6 - 0x6]
00000156 E940 asl D0.w, 4
00000158 43E8 023E lea.l A1, [A0 + 0x23E]
0000015C 41F1 0000 lea.l A0, [A1 + D0.w]
00000160 224C movea.l A1, A4
00000162 5C89 addq.l A1, 6
00000164 20D9 move.l [A0]+, [A1]+
00000166 20D9 move.l [A0]+, [A1]+
00000168 20D9 move.l [A0]+, [A1]+
0000016A 20D9 move.l [A0]+, [A1]+
label0000016C:
0000016C 285F movea.l A4, [A7]+
0000016E 4E5E unlink A6
00000170 2E9F move.l [A7], [A7]+
00000172 4E75 rts
fn00000174:
00000174 4E56 FFFE link A6, -0x0002
00000178 48E7 0108 movem.l -[A7], D7,A4
0000017C 286E 0008 movea.l A4, [A6 + 0x8]
00000180 426C 0002 clr.w [A4 + 0x2]
00000184 3E2C 0004 move.w D7, [A4 + 0x4]
00000188 42A7 clr.l